package com.tlxch.mapper;

import com.tlxch.dto.Sattitudedto;
import com.tlxch.dto.TStudentTAlertdto;
import com.tlxch.pojo.SAttitude;
import com.tlxch.pojo.SAttitudeWithBLOBs;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SAttitudeMapper {
    int deleteByPrimaryKey(Integer saId);

    int insert(SAttitudeWithBLOBs record);

    int insertSelective(SAttitudeWithBLOBs record);

    SAttitudeWithBLOBs selectByPrimaryKey(Integer saId);

    int updateByPrimaryKeySelective(SAttitudeWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(SAttitudeWithBLOBs record);

    int updateByPrimaryKey(SAttitude record);

    List<Sattitudedto> getByStuname(String sSid);

    void insertstt(SAttitude sAttitude);

    List<SAttitude> getbySidandType(String sid, int type);

    List<SAttitude> getlist(String sname, String major, int grade);

    SAttitude getByStunameAnd(TStudentTAlertdto student);

    List<SAttitude> getsAttitude();

}